Optimal. Leaf size=39 \[ \frac {x \left (a+b x^n\right )^{3/2} \, _2F_1\left (1,\frac {3}{2}+\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 48, normalized size of antiderivative = 1.23, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {252, 251}
\begin {gather*} \frac {x \sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {\frac {b x^n}{a}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 252
Rubi steps
\begin {align*} \int \sqrt {a+b x^n} \, dx &=\frac {\sqrt {a+b x^n} \int \sqrt {1+\frac {b x^n}{a}} \, dx}{\sqrt {1+\frac {b x^n}{a}}}\\ &=\frac {x \sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {1+\frac {b x^n}{a}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 48, normalized size = 1.23 \begin {gather*} \frac {x \sqrt {a+b x^n} \, _2F_1\left (-\frac {1}{2},\frac {1}{n};1+\frac {1}{n};-\frac {b x^n}{a}\right )}{\sqrt {1+\frac {b x^n}{a}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \sqrt {a +b \,x^{n}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.50, size = 41, normalized size = 1.05 \begin {gather*} \frac {\sqrt {a} x \Gamma \left (\frac {1}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{n} \\ 1 + \frac {1}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{n \Gamma \left (1 + \frac {1}{n}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.46, size = 43, normalized size = 1.10 \begin {gather*} \frac {x\,\sqrt {a+b\,x^n}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{2},\frac {1}{n};\ \frac {1}{n}+1;\ -\frac {b\,x^n}{a}\right )}{\sqrt {\frac {b\,x^n}{a}+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________